package com.br.odonto.dao;

import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Collection;

import com.br.odonto.modelo.entidade.Paciente;
import com.mysql.jdbc.Connection;

public class OperacaoDAO extends AbstractDAO<Paciente> {
	/**
	 * Criar as variáveis para executar as query no banco de dados
	 * 
	 */
	@Override
	public int criar(Paciente obj) {
		try {

			Class.forName(DRIVER);
			Connection conn = (Connection) DriverManager.getConnection(URL, USER, PASSWORD);
		
		} catch (ClassNotFoundException e) {
			
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return 0;
	}

	@Override
	public int alterar(Paciente obj) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int excluir(Paciente obj) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Collection<Paciente> buscar() {
		// TODO Auto-generated method stub
		return null;
	}

}
